import Vue from 'vue';
import Vuex from 'vuex';
import ZkTable from 'vue-table-with-tree-grid';

import login from './modules/login';
import app from './modules/app';
import systemUser from './modules/system/user';
import systemMenu from './modules/system/menu';
import systemRole from './modules/system/role';

Vue.use(Vuex);
Vue.use(ZkTable);

const store = new Vuex.Store({
    state: {},
    mutations: {},
    actions: {},
    modules: {
        login,
        app,
        systemMenu,
        systemRole,
        systemUser
    }
});

export default store;
